home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
qbbs
/
cookie20.zip
/
COOKIE.DOC
< prev
next >
Wrap
Text File
|
1991-02-16
|
3KB
|
114 lines
-=( Cookie 12 )=-
CopyRights : None. Hereby donated to Public domain
Author : Gerhard Hoogterp
Version : 1.2
Released : 17 Oct 1990
Important:
You have to recompile old cookie files. This version has a file added in the
header so it became incompatible..
What is it:
Well, cookie is just an other fortune cookie showdoor. I wrote it after
seeing a RA sysop stumbling around with a type 15 utilitie to show a
fortune cookie every time a user passed the main menu.
How to use it:
Simple, make a Type 7 menuentry somewhere. (Maybe an automatic executed one)
Put
Cookie.exe <FileName> [-P:*P]
In the optional data field and there you go.
The *.JUM file is expected to be in the same directory as from where the
program was started. Buf if you like you can use the environment variable
'COOKIES' to point to an other directory.
When used on a multiline BBS you must load share. Cookie keeps a counter in
the datafile (*.JUM file) and uses recordlocking to avoid problems.
It also reads the config.ra and the exitinfo.bbs so make use you have
the 'RA' environment variable set.
Cookie uses ANSI when the user has his ANSI toggle ON.
What else:
You can make your own cookie datafiles. Just make an ASCII textfile,
put a single cookie per line with a maximal length of 255 characters.
You may use the '|' symbol to include a <CR> in the cookie.
f.e.
Loosing your driverlicense| is Gods way of saying BOGA BOGA
Which will appear on screen as:
Loosing your driverlicense
is Gods way of saying BOGA BOGA
Give the file a name with the extention .DAT and use BakeThem.exe
To compiler the file into a *.Jum file.
BakeThem has the syntax:
BakeThem <FileName>
Where Filename is a clean asciifile (Naja, you may use control codes in the
file, but be warned, cookie doesn't filter them... Can be VERY anoying for
users without an IBM or without ANSI!)
where was I, ahja, a clean ascii file with the extention .DAT
When you add a line starting with a % it becomes the title of the cookie
screen. Normaly a cookie is displayed as
─────────────────────────────────────────────────────────[ Fortune cookie: ]──
Whatever it takes,
It's never enough...
──────────────────────────────────────────────────────────────────────────────
But if you put a title line in the dat file with f.e.:
%Remember:
The cookie is shown as:
───────────────────────────────────────────────────────────────[ Remember: ]──
Whatever it takes,
It's never enough...
──────────────────────────────────────────────────────────────────────────────
Enjoy!
Gerhard.
Ah by the way,
Complains etc. -> \dev\nul
Remarks and bravo's -> Gerhard Hoogterp
2:283/1.2
27:4331/106
HOOGTERPG@HENUT5.BITNET)
BTW2:
More of my software can be found in SDS and at the LiveSystems supportboard.
Actionboard Alphen
Sysop Bart Burkels
01720-37926
2:281/604